<?php /* Smarty version Smarty-3.1.13, created on 2013-12-25 19:45:05
         compiled from "E:\Apache\www\hyqx\admin\templates\defaults\guest_book_look.html" */ ?>
<?php /*%%SmartyHeaderCode:173752bac54106dc46-75249524%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'd7d48aec0b48a7ab49eff63133696a5ae0c38bea' => 
    array (
      0 => 'E:\\Apache\\www\\hyqx\\admin\\templates\\defaults\\guest_book_look.html',
      1 => 1387353715,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '173752bac54106dc46-75249524',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'title' => 0,
    'guest_books' => 0,
    'item' => 0,
    'pageTotalNum' => 0,
    'page' => 0,
    'prePage' => 0,
    'nextPage' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.13',
  'unifunc' => 'content_52bac5411993e6_55017010',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_52bac5411993e6_55017010')) {function content_52bac5411993e6_55017010($_smarty_tpl) {?><!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
    <head>
        <title><?php echo $_smarty_tpl->tpl_vars['title']->value;?>
</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head>
    <body>
        <table width="80%" border="1"  align="center" >
            
          <?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['guest_books']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['item']->_loop = true;
?>
            <tr >
            <td width ="20%"><?php echo $_smarty_tpl->tpl_vars['item']->value['nickname'];?>
</td>
            <td width ="60%"><?php echo $_smarty_tpl->tpl_vars['item']->value['content'];?>
</td>
            <td width ="20%">
                <a  href="guest_book_reply.php?id=<?php echo $_smarty_tpl->tpl_vars['item']->value['id'];?>
"> 回复</a> &nbsp;&nbsp;&nbsp;
                <a  href="guest_book_reply.php?id=<?php echo $_smarty_tpl->tpl_vars['item']->value['id'];?>
">删除</a>
            </td>
            </tr>
            
          <?php } ?> 
        </table>
        <center>
共 <?php echo $_smarty_tpl->tpl_vars['pageTotalNum']->value;?>
 页 当前第 <span id="number"><?php echo $_smarty_tpl->tpl_vars['page']->value;?>
</span> 页 
<span id="theFirstPage"><a href="guest_book_admin.php?page=1">第一页</a></span> 
<span id="thePrePage"><a href="guest_book_admin.php?page=<?php echo $_smarty_tpl->tpl_vars['prePage']->value;?>
">上一页</a></span> 
<span id="theNextPage"><a href="guest_book_admin.php?page=<?php echo $_smarty_tpl->tpl_vars['nextPage']->value;?>
">下一页</a></span> 
<span id="theLastPage"><a href="guest_book_admin.php?page=<?php echo $_smarty_tpl->tpl_vars['pageTotalNum']->value;?>
">最后一页</a></span> 

</center>
    </body>
</html>
<?php }} ?>